﻿
<%@ Page language="c#" Inherits="Mysoft.Crm.Web.Tools.SysCustomizer" CodeBehind="Mysoft.Crm.Application.Pages.Tools.dll" %>
<%@ Register TagPrefix="cnt" Namespace="Mysoft.Crm.Application.Controls" Assembly="Mysoft.Crm.Application.Components" %>
<%@ Register TagPrefix="mnu" Namespace="Mysoft.Crm.Application.Menus" Assembly="Mysoft.Crm.Application.Components" %>
<%@ Register TagPrefix="crm" Namespace="Mysoft.Crm.Controls" Assembly="Mysoft.Crm.Application.Components" %>
<%@ Import Namespace="Mysoft.Crm" %>
<html>
<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"/>
<!--<cnt:AppHeader runat="server" id="crmHeader"/>-->
<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
<script language="javascript" src="/_controls/util/util.js"></script>
<script language="javascript" src="/_common/scripts/global.js"></script>


<link rel="stylesheet" type="text/css" href="/_nav/taskBox.css">
<link rel="stylesheet" type="text/css" href="/_controls/navigation/map.css">
<script language="javascript" src="/_controls/navigation/map.js"></script>
<script language="JavaScript">

	function serverSettings()
	{
		openStdDlg('/tools/systemsettings/dialogs/systemsettings.aspx',null,640,420);
	}

	function autoNumbering()
	{
		openStdDlg('/tools/autonumbering/dialogs/autonumbering.aspx',null,600,380);
	}
	
	function fiscalSettings()
	{
		openStdDlg('/tools/fiscalsettings/dialogs/fiscalsettings.aspx',null,600,450);
	}
	
	function manage(iType)
	{
		location.href = "/tools/objectManager/objectmanager.aspx?oid=" + iType;
		//parent.location.href = "/tools/home_tools.aspx?pid=06" + iType;
	}
	
	function glow(o)
	{
		o.runtimeStyle.color = "#000099";
		o.runtimeStyle.backgroundColor = "#E2E8F7";
	}
	
	function dim(o)
	{
		o.runtimeStyle.color = "";
		o.runtimeStyle.backgroundColor = "";
	}
	
</script>

<style>

	div.miniHeader
	{
		font-size:14px;
		font-weight:bold;
		color:#37377C;
		border-bottom:solid 1px #D4D4D0;
		margin-bottom:6px;
	}
	
	div.miniText
	{
		color:#666666;
	}
	
	div.obj
	{
		font-size: 11px;
		border-bottom:1px solid #cccccc;
		padding-bottom: 4px;
		padding-top:4px;
		cursor: hand;
		margin-bottom:8px;
	}
	
</style>

</head>
<body>

	<table class="stdTable" cellspacing="0" cellpadding="0">
	<!-col width="190"-><col>
		<%
		//注释掉的HTML
		/*<tr height="50">
			<td colspan="2" style="padding-left:13px;padding-right:15px;">
				<div class="subtitle">定制您想要的类型</div><!-What would you like to customize?->
				<img src="/tools/_imgs/hr.gif" align="middle" height="1" width="100%" style="margin-bottom:10px;"/>
			</td>
		</tr>
		<tr>
			<td style="padding:20px;padding-top:0px;">
				<crm:TaskBox runat="server" id="crmTaskBox"/>
			</td>*/
			%>
			<tr height="50"></tr>
			<td style="padding:10px;padding-top:0px;padding-left:14px;padding-bottom:20px;">
<%
		//if (CurrentUser.GetPrivilege(Privileges.CreateCustomization))
		//{		
%>
				<table width="100%" height="100%">
					<tr height="50">
						<td>
							<div class="miniHeader">实体对象列表</div><!-Record Type Management ->
							<div class="linkhelp" ></div><!-Select one of the following record types to customize its forms, views, and previews.->
						</td>
					</tr>
					<tr>
						<td>
							<div style="width:100%;height:100%;overflow-y:auto;padding:2px;padding-top:0px;">
<%
								// Render SFA Customization Options
								//
								AddCustomization(Util.Customer);
								AddCustomization(Util.LionelTest);
								AddCustomization(Util.Lead);
								AddCustomization(Util.Opportunity);
								AddCustomization(Util.OpportunityProduct);
								AddCustomization(Util.Account);
								AddCustomization(Util.Contact);
								AddCustomization(Util.CustomerAddress);
								AddCustomization(Util.Competitor);
								AddCustomization(Util.Product);
								AddCustomization(Util.SalesLiterature);
								AddCustomization(Util.Quote);
								AddCustomization(Util.QuoteDetail);
								AddCustomization(Util.SalesOrder);
								AddCustomization(Util.SalesOrderDetail);
								AddCustomization(Util.Invoice);
								AddCustomization(Util.InvoiceDetail);

								// Render CS Customization Options
								//
								AddCustomization(Util.Incident);
								AddCustomization(Util.Contract);
								AddCustomization(Util.ContractDetail);

%>
							</div>
						</td>
					</tr>
				</table>
<%
		//}
%>
			</td>
		</tr>	
	</table>

</body>
</html>